#ifndef ROBOTFILEMGRI_H
#define ROBOTFILEMGRI_H

#include "RobotDef.h"
#include <QtCore>

class RobotFileMgrI : public Robot::FileMgr
{
public:
    RobotFileMgrI();

    // FileMgr interface
public:
    std::string GetDirPath(const Ice::Current &);
    void List(Ice::StringSeq &sList, const Ice::Current &);
    void Delete(const std::string &strFullName, const Ice::Current &);
    bool SendFile(Ice::Int nHandle, const Ice::ByteSeq &bSeq, bool bEnd, const Ice::Current &);
    Ice::Int SendStart(const std::string &strFullName, const Ice::Current &);

private:
    QString m_strDirPath;
};

#endif // ROBOTFILEMGRI_H
